fingerprint5 2.2.0
Loading...
Searching...
No Matches
fingerprint5


Fingerprint 5 Click

Fingerprint 5 Click demo application is developed using the NECTO Studio, ensuring compatibility with mikroSDK's open-source libraries and tools. Designed for plug-and-play implementation and testing, the demo is fully compatible with all development, starter, and mikromedia boards featuring a mikroBUS™ socket.


Click Library

  • Author : Stefan Filipovic
  • Date : Jul 2025.
  • Type : UART type

Software Support

Example Description

This example demonstrates how to use the Fingerprint 5 Click board to enroll and identify fingerprints. The application cycles through several states: checking firmware readiness, reading version info, deleting existing templates, enrolling new fingerprints, and continuously identifying them.

Example Libraries

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.Fingerprint5

Example Key Functions

Application Init

Initializes the logger and the Click board, resets the device and sets up the application state machine.

void application_init ( void )
{
log_cfg_t log_cfg;
fingerprint5_cfg_t fingerprint5_cfg;
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_info( &logger, " Application Init " );
// Click initialization.
fingerprint5_cfg_setup( &fingerprint5_cfg );
FINGERPRINT5_MAP_MIKROBUS( fingerprint5_cfg, MIKROBUS_1 );
if ( UART_ERROR == fingerprint5_init( &fingerprint5, &fingerprint5_cfg ) )
{
log_error( &logger, " Communication init." );
for ( ; ; );
}
fingerprint5_reset_device ( &fingerprint5 );
log_info( &logger, " Application Task " );
log_printf ( &logger, "\r\nAPP STATE: WAIT READY\r\n" );
}
#define FINGERPRINT5_MAP_MIKROBUS(cfg, mikrobus)
MikroBUS pin mapping.
Definition fingerprint5.h:249
void fingerprint5_reset_device(fingerprint5_t *ctx)
Fingerprint 5 hardware reset function.
void application_init(void)
Definition main.c:82
@ FINGERPRINT5_APP_STATE_WAIT_READY
Definition main.c:41

Application Task

Handles command processing and application state transitions, enabling fingerprint enrollment and identification.

void application_task ( void )
{
if ( FINGERPRINT5_OK == fingerprint5_read_cmd ( &fingerprint5 ) )
{
fingerprint5_parse_cmd ( &fingerprint5 );
fingerprint5_process ( &fingerprint5 );
}
}
@ FINGERPRINT5_OK
Definition fingerprint5.h:431
void application_task(void)
Definition main.c:117

Note

Make sure to place your finger on the sensor when prompted during enrollment and identification. The example registers 2 fingerprints by default.

Application Output

This Click board can be interfaced and monitored in two ways:

  • Application Output - Use the "Application Output" window in Debug mode for real-time data monitoring. Set it up properly by following this tutorial.
  • UART Terminal - Monitor data via the UART Terminal using a USB to UART converter. For detailed instructions, check out this tutorial.

Additional Notes and Information

The complete application code and a ready-to-use project are available through the NECTO Studio Package Manager for direct installation in the NECTO Studio. The application code can also be found on the MIKROE GitHub account.